package com.qianchang.microfinance.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 版 权: 深圳市迪蒙网络科技有限公司
 * 描 述: <测试列表的bean>
 * 修 改 人: sushuo
 * 修改时间: 2017-4-14
 */

public class TestListBean implements Parcelable {


    /**
     * id : 1017041216120444290
     * projectNo : P14919847244439819
     * projectTitle : 测试
     * titleTime : null
     * comOrganiz : 公益机构
     * financingTarget : 50000.00
     * investAmount : 100.00
     * financingPeriod : 50
     * dateCreate : 2017-04-12 16:12:27
     * projectStatus : 4
     * progressNum : 0
     */

    private String id;
    private String projectNo;
    private String projectTitle;
    private String titleTime;
    private String comOrganiz;
    private String financingTarget;
    private String investAmount;
    private String financingPeriod;
    private String dateCreate;
    private String projectStatus;// 状态：0:待提交；1：提交待审核2：审核通过待发布；3：审核不通过；4：发布成功捐赠中；5：捐赠完毕；6：已作废
    private String progressNum;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectNo() {
        return projectNo;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo;
    }

    public String getProjectTitle() {
        return projectTitle;
    }

    public void setProjectTitle(String projectTitle) {
        this.projectTitle = projectTitle;
    }

    public String getTitleTime() {
        return titleTime;
    }

    public void setTitleTime(String titleTime) {
        this.titleTime = titleTime;
    }

    public String getComOrganiz() {
        return comOrganiz;
    }

    public void setComOrganiz(String comOrganiz) {
        this.comOrganiz = comOrganiz;
    }

    public String getFinancingTarget() {
        return financingTarget;
    }

    public void setFinancingTarget(String financingTarget) {
        this.financingTarget = financingTarget;
    }

    public String getInvestAmount() {
        return investAmount;
    }

    public void setInvestAmount(String investAmount) {
        this.investAmount = investAmount;
    }

    public String getFinancingPeriod() {
        return financingPeriod;
    }

    public void setFinancingPeriod(String financingPeriod) {
        this.financingPeriod = financingPeriod;
    }

    public String getDateCreate() {
        return dateCreate;
    }

    public void setDateCreate(String dateCreate) {
        this.dateCreate = dateCreate;
    }

    public String getProjectStatus() {
        return projectStatus;
    }

    public void setProjectStatus(String projectStatus) {
        this.projectStatus = projectStatus;
    }

    public String getProgressNum() {
        return progressNum;
    }

    public void setProgressNum(String progressNum) {
        this.progressNum = progressNum;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(id);
        dest.writeString(projectNo);
        dest.writeString(projectTitle);
        dest.writeString(titleTime);
        dest.writeString(comOrganiz);
        dest.writeString(financingTarget);
        dest.writeString(investAmount);
        dest.writeString(financingPeriod);
        dest.writeString(dateCreate);
        dest.writeString(projectStatus);
        dest.writeString(progressNum);
    }

    public static final Parcelable.Creator<TestListBean> CREATOR = new Parcelable.Creator<TestListBean>() {
        public TestListBean createFromParcel(Parcel in) {
            return new TestListBean(in);
        }

        public TestListBean[] newArray(int size) {
            return new TestListBean[size];
        }
    };

    private TestListBean(Parcel dest) {
        id = dest.readString();
        projectNo = dest.readString();
        projectTitle = dest.readString();
        titleTime = dest.readString();
        comOrganiz = dest.readString();
        financingTarget = dest.readString();
        investAmount = dest.readString();
        financingPeriod = dest.readString();
        dateCreate = dest.readString();
        projectStatus = dest.readString();
        progressNum = dest.readString();
    }
}
